package com.scub.foundation.tutorial.junit;

public class Test_TP 
{
	int num_de_suite=1;
	int Stage;
	
	
	
	
	public boolean Verif_suite(int num_suite)
	{
		if(num_de_suite==num_suite)
		{
			num_de_suite++;
			
			return true;
			
		}
		
		else
		
			return false;
		}
	
	
	public boolean test_bouton1( )
	{
		if(Stage==1)return Verif_suite(1); 
		else if(Stage==3)return Verif_suite(1);
		else return false;
	}
	public boolean test_bouton2( )
	{
		if(Stage==2)return Verif_suite(4);
		else return false;
	}
	public boolean test_bouton3( )
	{
		if(Stage==2) return Verif_suite(3);
		else if(Stage==3)return Verif_suite(6);
		else return false;
	}
	public boolean test_bouton4( )
	{
		if(Stage==3) return Verif_suite(5);
		else if(Stage==2) return Verif_suite(1);
		else return false;
	}
	
	
	public boolean test_bouton5( )
	{
		if(Stage==3) return Verif_suite(4);
		else return false;
		
	}
	
	
	public boolean test_bouton7( )
	{
		if(Stage==2) return Verif_suite(2);
		else if(Stage==3) return Verif_suite(3);
		else return false;
	}
	
	
	public boolean test_bouton9()
	{
		
		if(Stage==1)return Verif_suite(2);
		
		else if(Stage==3)return Verif_suite(2);
		else return  false;
	}
	
	
	

	
	
	}

